// store/index.ts
import { createPinia } from 'pinia';
import { useRouteStore } from '@/store/useRouteStore';
import { useMainStore } from '@/store/user';
 
// 创建 pinia 实例
const pinia = createPinia();
 
// 将所有 store 模块暴露
export { pinia, useRouteStore, useMainStore };